// if.asm
section text
    local a:int(0x12)
    local b:int(0x34)
    local c:int

    if(a == b)
        if(a == 0x12)
            store c, a
        else
            store c, 0
        endif
    else if(a > b)
        if(a == 0x12)
            store c, a
        else if(a == 0x34)
            store c, b
        else if(a == 0xcc)
            store c, 0xcc
        else
            store c, 1
        endif
    else
        if(a == 0x34)
            store c, a
        else
            store c, -1
        endif
    endif

    return c
    
// @return 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff